package com.extweb4j.web.bean;

public class RadioBean implements Comparable<RadioBean>{
	private String boxLabel;
	private String name;
	private String inputValue;
	private int order;

	
	public String getBoxLabel() {
		return boxLabel;
	}


	public void setBoxLabel(String boxLabel) {
		this.boxLabel = boxLabel;
	}


	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public String getInputValue() {
		return inputValue;
	}


	public void setInputValue(String inputValue) {
		this.inputValue = inputValue;
	}


	public int getOrder() {
		return order;
	}


	public void setOrder(int order) {
		this.order = order;
	}


	@Override
	public int compareTo(RadioBean o) {
		if(this.order>o.getOrder()){
			return 1;
		}else if(this.order == o.getOrder()){
			return 0;
		}else{
			return -1;
		}
	}

}
